/*
 * BoardElements.h
 *
 *  Created on: 13/06/2014
 *      Author: lucio
 */

#ifndef BOARDELEMENTS_H_
#define BOARDELEMENTS_H_
#include <gtkmm.h>
#include "Board.h"

class BoardElements {
protected:
	Board* board;

	Gtk::ToggleButton* BackgroundButton;
	Gtk::ToggleButton* BoxButton;
	Gtk::ToggleButton* MetalBoxButton;
	Gtk::ToggleButton* PlayerSpawnButton;
	Gtk::ToggleButton* ZombieSpawnButton;
	Gtk::ToggleButton* PlantButton;
public:
	//Eventos toggle
	void Background_Toggle();
	void Box_Toggle();
	void MetalBox_Toggle();
	void PlayerSpawn_Toggle();
	void ZombieSpawn_Toggle();
	void Plant_Toggle();
	void UnToggle(bool tg1, bool tg2, bool tg3, bool tg4,
			bool tg5, bool tg6);

	//Constructores
	BoardElements(Glib::RefPtr<Gtk::Builder>& builder, Board* board);
	virtual ~BoardElements();
};

#endif /* BOARDELEMENTS_H_ */
